﻿<phone:PhoneApplicationPage 
    x:Class="NASA.BeAMartian.Views.Learn.AskQuestionPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="False">

    <Grid x:Name="LayoutRoot" d:DataContext="{Binding Items[0]}">
        <Grid.RowDefinitions>
            <RowDefinition Height="170"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--This is the name of the application and page title-->

        <!--This is the name of the application and page title-->
        <Image Source="/NASA.BeAMartian;component/Assets/Images/blk.png" Stretch="Fill" Grid.RowSpan="2"/>
        <Image Source="/NASA.BeAMartian;component/Assets/Images/399-260508-2204-6-3d-2-01-EchusChasma_L.jpg" Stretch="Fill" Grid.RowSpan="2" Opacity="0.4"/>
    <!--This is the name of the application and page title-->
        <Grid Grid.Row="0">
            <TextBlock x:Name="tbPageTitle" Style="{StaticResource PhoneTextPageTitle1Style}"/>
            <TextBlock Text="ask a question" Style="{StaticResource PhoneTextPageTitle2Style}"/>
        </Grid>

        <!--This section is body text-->
        <Grid Grid.Row="1">
            <TextBlock Text="Question"  Height="36" HorizontalAlignment="Left" Margin="20,6,0,0" x:Name="textBlock1" VerticalAlignment="Top" Width="120" />
            <TextBox x:Name="tbQuestion" Height="206" HorizontalAlignment="Left" Margin="20,41,0,0"  Text="" VerticalAlignment="Top" Width="434" />
            <TextBlock Height="36" HorizontalAlignment="Left" Margin="24,253,0,0" x:Name="textBlock2"  Text="Tags" VerticalAlignment="Top" Width="120" />
            <TextBox x:Name="tbQuestionTags" Height="67" HorizontalAlignment="Left" Margin="23,294,0,0" Text="" VerticalAlignment="Top" Width="433" />
            <Button Content="Cancel" Height="70" HorizontalAlignment="Left" Margin="20,447,0,0" x:Name="btnCancel" VerticalAlignment="Top" Width="434" Click="btnCancel_Click" />
            <Button Content="Submit" Height="70" HorizontalAlignment="Left" Margin="20,539,0,0" x:Name="btnSubmit" VerticalAlignment="Top" Width="434" Click="btnSubmit_Click" />
        </Grid>
    </Grid>
    <!--Sample code showing usage of ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Button 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
